package com.vf.user.domain.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "微信小程序用户登录VO")
public class UserAppletLoginVO {

    @NotNull(message = "微信授权码不能为空")
    @NotBlank(message = "微信授权码不能留白")
    @ApiModelProperty(value = "微信授权码",required = true)
    private String code;
}
